package com.ohos.connent.modelcloud.biz.modular.pro.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ohos.connent.modelcloud.common.pojo.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @Author: ChenJiaHao
 * @Date: 2024/5/31 15:17
 * @Description:
 */
@Getter
@Setter
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "BIZ_PRO_CATEGORY_DICT", autoResultMap = true)
public class BizProCategoryDict extends CommonEntity {

    /** id */
    @ApiModelProperty(value = "id", position = 1)
    private String id;

    /** 父类ID */
    @ApiModelProperty(value = "父类ID", position = 2)
    private String parentId;

    /** 同层级时的顺序 */
    @ApiModelProperty(value = "同层级时的顺序", position = 3)
    private int sort;

    /** 层级 */
    @ApiModelProperty(value = "层级", position = 4)
    private int level;

    /** 品类名称 */
    @ApiModelProperty(value = "品类名称", position = 5)
    private String name;

}
